main: Only parse options in subcommands
authorColin Walters <walters@verbum.org>
Wed, 10 Jul 2013 22:23:52 +0000 (18:23 -0400)
committerColin Walters <walters@verbum.org>
Wed, 10 Jul 2013 22:23:52 +0000 (18:23 -0400)
commitb7460cf0b69f4081d834831db5e1e2e12b33b83e
treef1bbccf16c3e142410932f08944aab7fc656268b
parentbe2bebaf3e3000ee64d1fcd71a18006e7141b22c
main: Only parse options in subcommands

This makes e.g. "ostree commit --help" work, which is really good.
src/ostree/ot-main.c